const http=require('http');
// let path=require('path');

http.get('http://localhost:8888/b',(response)=>{
    let data;

    response.on('data',(chunk)=>{
        data+=chunk.toString();
    })

    response.on('end',()=>{
        console.log(data);
    })
})